.list-item {
    padding: 0 10px 10px 10px;
}

.component-header {
    height: 50px;
    background-color: var(--color-page);
    border-bottom: 1px solid var(--color-border);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.component-layout {
    width: 100%;
    height: round(calc(100% - 40px), 1px);
    color: var(--color-info-700);
    display: flex;
    font-size: 14px;

    .component-list {
        width: 300px;
        height: 100%;
        background-color: var(--color-page);
    }

    .component-content {
        width: calc(100% - 300px);
        background-color: var(--color-page);
        padding-bottom: 10px;
    }
}

.first-level-menu {
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    height: 40px;
}

.second-level-menu {
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
    border-radius: 6px;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;

    &:hover {
        color: var(--color-primary-500);
    }

    &.is-active {
        background-color: color-mix(in srgb, var(--color-primary-500) 10%, transparent);
        color: var(--color-primary-500);
        font-weight: 600;
    }
}

.component-container {
    padding: 0 10px;
}

.title {
    .name {
        font-size: 28px;
        line-height: 30px;
        font-weight: 600;
        padding: 20px 0px;
    }

    .describe {
        font-size: 14px;
        line-height: 30px;
        padding: 12px 20px;
        background-color: color-mix(in srgb, var(--color-primary-500) 10%, transparent);
        border-radius: 6px;
        border-left: 4px solid var(--color-primary-500);
    }
}

.compType{
    font-size: 24px;
    line-height: 26px;
    font-weight: 600;
    padding: 36px 0 0 0;
    color: var(--color-primary-500);
}

.subtitle {
    .name {
        font-size: 20px;
        line-height: 22px;
        font-weight: 600;
        padding: 30px 0 16px 0;
    }

    .describe {
        font-size: 14px;
        line-height: 2em;
        padding: 0 0 20px 0;
    }
}

.example {
    .category {
        height: 20px;
        font-size: 14px;
        color: var(--color-info-500);
    }

    .example-group {
        display: flex;
        padding: 5px 0;
        gap: 20px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .example-group-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        margin-bottom: 10px;
        gap: 20px;
    }
}

.tag {
    display: inline-flex;
    border-radius: 4px;
    background-color: var(--color-info-200);
    padding: 2px 6px;
    line-height: 18px;    
    flex-wrap: wrap;
}

.keyword {
    font-weight: 600;
}

.code-area {
    font-size: 14px;
    line-height: 16px;
    border-radius: 6px;
    padding: 20px;
    background-color: var(--color-info-50);
}
